﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CierreKardexForm.aspx.cs" 
Inherits="UILGestion.AlmacenAdmin.CierreKardexForm" %>

<%@ Register Assembly="SesarchResultLib" Namespace="SesarchResultLib" TagPrefix="cc4" %>

<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="cc3" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc1" %>
<%@ Register src="~/Control/menuCtrl.ascx" tagname="menuObraCtrl" tagprefix="uc1" %>
<%@ Register src="SaldoInsumoGrid.ascx" tagname="SaldoInsumoGrid" tagprefix="uc2" %>
<%@ Register src="SaldoKardexGrid.ascx" tagname="SaldoKardexGrid" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/fonts.css" />
    <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/theme.css" />
    
     <link href="../css/main.css" rel="stylesheet" type="text/css" />
    </head>
<body>
        <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"/>
    
<input id="idObra" type="hidden"  runat="server" />
<input id="idAlmacen" type="hidden"  runat="server" />

     <uc1:menuObraCtrl ID="menuObraCtrl1" runat="server" />
     <br />
      
   <asp:Panel ID="pnlMain" runat="server" 
  CssClass="Heading secTitle AreaHeading ms-crm-List-Header">
   <asp:Label ID="Label1" runat="server" Text="CIERRE KARDEX" 
                         style="font-size: large; color: #960818"></asp:Label>
                         </asp:Panel>

        
<asp:Panel ID="PanelBody" runat="server"  BackColor="white" >
    <div >
        
        
        <table  >
       
         <tr>
        <td align="right" valign="middle" width="100px">
            Periodo:
        </td>
        <td align="left" class="style1" >
        <table>
        <tr>
        <td> AÑO:</td>
        <td><asp:DropDownList ID="anioDropDownList" runat="server" Width="150px" 
               >
             </asp:DropDownList></td>
        <td>MES:</td>
        <td><asp:DropDownList ID="mesDropDownList" runat="server" Width="150px" 
                 >
             </asp:DropDownList></td>
        </tr>

        </table>
           
        </td>
        <td align="left" class="style1" >
            &nbsp;</td>
        </tr>
         <tr>
        <td align="right" valign="top" width="100px">
            Tipo cambio $:
        </td>
        <td align="left" class="style1" >
             <cc4:Input ID="tipoCambioInput" runat="server"    Font-Size="X-Small" ></cc4:Input>
           
        </td>
        <td align="left" class="style1" >
             &nbsp;</td>
        </tr>
        <tr>
        <td align="right" valign="top" width="100px">
            Observacion:</td>
        <td class="style1">
            <cc4:Input ID="ObservacionTxt"  TextMode="MultiLine" runat="server" Width="400px" Font-Size="Small" >
            </cc4:Input>
        </td>
        <td class="style1">
            &nbsp;</td>
        </tr>
        <tr>
        <td width="100px"> </td>
        <td align="right">     
            <asp:Button ID="Button1" runat="server" CssClass="ms-crm-List-Header" 
                onclick="Button1_Click" 
                OnClientClick="return confirm('Usted quiere Generar Cierre?')" 
                Text="Ejecutar cierre" />
            </td>
        <td align="right">     
            &nbsp;</td>
        </tr>
        </table>
       
        <hr />
       
        
        

        <br />
  
    </div>
     

      

    <asp:Panel ID="Panel1" runat="server" GroupingText="LISTA DE CIERRES KARDEX" 
    Font-Names="Arial"  Width="800px">
     <asp:UpdatePanel runat="server" ID="updateCierre" UpdateMode="Conditional" >
  <ContentTemplate>
       
      <br />
       <asp:ObjectDataSource ID="SaldoKardexODS" runat="server" EnablePaging="True" 
        SelectCountMethod="Count" SelectMethod="GetCierreList" SortParameterName="sortExpression"
        TypeName="BOL.KardexBL">
        <SelectParameters>
            
            <asp:querystringparameter  Name="idAlmacen" Type="Int32" querystringfield="idAlmacen"  />
            <asp:Parameter Name="startRowIndex" Type="Int32" />
            <asp:Parameter Name="maximumRows" Type="Int32" />
            <asp:Parameter Name="sortExpression" Type="String" />
        </SelectParameters>
        
    </asp:ObjectDataSource>
    

        <uc3:SaldoKardexGrid ID="SaldoKardexGrid1" runat="server" DataSourceID="SaldoKardexODS" />
    

        </ContentTemplate>
        
    </asp:UpdatePanel>
 
    </asp:Panel>
     </asp:Panel>
    </form>
</body>
</html>
